package com.kuaimacode.kframework.mybatis.models.agent;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 用户表
 */
@Data
@TableName("sys_agent_user")
public class SysAgentUser implements java.io.Serializable {

	/**
	 * 
	 */
	@TableField(exist=false)
	private static final long serialVersionUID = 1L;

	@TableId(value = "user_id", type = IdType.AUTO)
	private Long userId;

	@TableField("user_name")
	private String userName;

	@TableField("real_name")
	private String realName;

	@TableField("password")
	private String password;

	@TableField("position_job")
	private String positionJob;

	@TableField("email")
	private String email;

	@TableField("cellphone")
	private String cellphone;

	@TableField("tel")
	private String tel;

	@TableField("salt")
	private String salt;

	@TableField("is_locked")
	private Boolean isLocked;

    @TableField("agent_id")
	private String agentId;

	/**
	 * 用户权限下所有的导航权限
	 */
	@TableField(exist=false)
	private String menuJson;
}